package com.jinmdz.fmis.core.base;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 殡葬查询实体（父类）
 *
 * @author GuanKui
 * @date 2020/2/24 13:48
 */
@ApiModel(value = "殡葬查询实体（父类）", description = "殡葬查询实体（父类）")
public class BasePageData extends BaseBean {

    /**
     * 每页显示记录条数
     */
    @ApiModelProperty(value = "每页显示记录条数", name = "pageSize", position = 1)
    private Integer pageSize;

    /**
     * 当前页数
     */
    @ApiModelProperty(value = "当前页数，第一页时传1", name = "pageSize", position = 2)
    private Integer currentPage;

    /**
     * 控制参数 ：排序字段
     */
    @ApiModelProperty(value = "排序字段", name = "orderField", position = 3)
    private String orderField;

    /**
     * 控制参数 ：排序顺序
     */
    @ApiModelProperty(value = "排序顺序", name = "orderType", position = 4)
    private String orderType;

    public Integer getPageSize() {
        return pageSize;
    }

    public BasePageData setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
        return this;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public BasePageData setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
        return this;
    }

    public String getOrderField() {
        return orderField;
    }

    public BasePageData setOrderField(String orderField) {
        this.orderField = orderField;
        return this;
    }

    public String getOrderType() {
        return orderType;
    }

    public BasePageData setOrderType(String orderType) {
        this.orderType = orderType;
        return this;
    }
}
